package cn.fl.ref.account.service;

import java.util.List;

import cmm.mid.core.framework.dto.DataResultDTO;
import cmm.mid.core.framework.page.KeyValueVO;
import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.ref.account.vo.FncGroupCompanyAccountVO;
import fl.flow.facade.flow.dto.FlowMyTaskDTO;
import fl.flow.facade.flow.dto.FlowStartParamsDTO;
import fl.ref.account.condition.FncGroupCompanyAccountQueryCondition;
import fl.warrant.facade.archive.condition.ArcBorrowMainQueryCondition;

/**
 * @Description: 集团公司账户
 * @Description: 持久层方法名称前缀：新增：insert* 删除：delete* 修改：update* 批量：batch*
 *               查询对象：select* get* find* 查询集合：select*
 * @Description: 业务层方法名称前缀：新增：add* 删除：remove* 修改：modify* 查询对象：select* get*
 *               批量：batch* 查询集合：search*
 */
public interface IFncGroupCompanyAccountService {

	
	/**
	 * 获取唯一对象
	 * 
	 * @param id 主键
	 * @return 对象DTO
	 */
	public FncGroupCompanyAccountVO selectById(Long id) throws BaseException;

	/**
	 * 新增
	 * 
	 * @param entity
	 * @return
	 */
	public Long add(FncGroupCompanyAccountVO entity) throws BaseException;

	/**
	 * 删除
	 * 
	 * @param id
	 * @return
	 */
	public boolean removeById(Long id) throws BaseException;

	/**
	 * 修改
	 * 
	 * @param entity
	 * @return
	 */
	public boolean update(FncGroupCompanyAccountVO entity) throws BaseException;

	/**
	 * 分页查询所有
	 * 
	 * @param page
	 * @return
	 */
	public Pager searchListPage(Pager page) throws BaseException;

	
	/**
	 * @param qc
	 * @return
	 * @throws BaseException
	 */
	public List<FncGroupCompanyAccountVO> selectList(FncGroupCompanyAccountQueryCondition qc) throws BaseException;

	public DataResultDTO addFlowStart(FlowStartParamsDTO flowStartParamsDTO) throws BaseException;
	
	/**
	 * 流程列表
	 */
	public Pager getFlowListPage(Pager page) throws BaseException;
}
